package za.ac.cput.arrowgame.service.validation;

import org.springframework.stereotype.Service;
import za.ac.cput.arrowgame.model.Arrow;
import za.ac.cput.arrowgame.model.Grid;
import za.ac.cput.arrowgame.model.GridLocation;

@Service("validateMove")
public class ValidateMoveImpl implements ValidateMove {

    public Boolean isValidMove(Grid gridModel, Arrow arrow) {
        GridLocation gridLocation = arrow.getGridLocation();
        Object valueAt = gridModel.getValueAt(gridLocation.getyCoordinate(), gridLocation.getxCoordinate());
        return false;
    }

}
